COMPONENT_TYPE_UNKNOWN = 0  # 未知类型
COMPONENT_TYPE_DF_AGENT = 1
COMPONENT_TYPE_DF_SERVER = 2

CASE_RECORD_STATUS_INIT = 0
CASE_RECORD_STATUS_STARTED = 1
CASE_RECORD_STATUS_STARTING = 11
CASE_RECORD_STATUS_PENDING = 12
CASE_RECORD_STATUS_PAUSED = 2
CASE_RECORD_STATUS_PAUSING = 21
CASE_RECORD_STATUS_FINISHED = 3
CASE_RECORD_STATUS_STOPPING = 31
CASE_RECORD_STATUS_ERROR = 4
CASE_RECORD_STATUS_EXCEPTION = 5
CASE_RECORD_STATUS_FORCE_END = 6

CASE_RECORD_NOT_DELETED = 0
CASE_RECORD_DELETED = 1

CRON_JOB_DELETED = 1
CRON_JOB_NOT_DELETED = 0